<template>
  <div class="public-views user-center">
    <div class="public-inner">
      <pubilc-sub-nav :navList="centerSubNav"></pubilc-sub-nav>
      <div class="center-left"></div>
      <div class="center-right"></div>
    </div>
  </div>
</template>

<script>
const PubilcSubNav = import('@/components/PublicSubNav.vue')
export default {
  components: {
    PubilcSubNav
  },
  data() {
    return {
      centerSubNav: [
        { text: '首页', href: '/', activate: false },
        { text: '个人中心', href: '/user/center', activate: true }
      ]
    }
  }
}
</script>

<style lang="less" scoped>
.center-left {
  width: 225px;
  height: 580px;
  box-shadow: 1px 1px 10px 1px #ddd;
  float: left;
  background: #fff;
  margin-bottom: 50px;
}
.center-right {
  width: 940px;
  height: 580px;
  box-shadow: 1px 1px 10px 1px #ddd;
  float: right;
  background: #fff;
  margin-bottom: 50px;
}
</style>


